package com.jboost.hyk.library.entity;


import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;

/**
 * @Description: 知识库
 * @Author: cxn
 * @Date:   2022-11-01
 * @Version: V1.0
 */
@Data
@TableName("hyk_knowledge_library")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_knowledge_library对象", description="知识库")
public class KnowledgeLibrary extends JBoostEntity{

    @TableLogic
    /**delFlag*/
    @ApiModelProperty(value = "delFlag")
    private Integer delFlag;

    /**类型：song-曲目；skill-技巧；*/
    @ApiModelProperty(value = "类型：song-曲目；skill-技巧；")
    private String type;

    /**名称*/
    @ApiModelProperty(value = "名称")
    private String name;

    /**category1Id*/
    @ApiModelProperty(value = "category1Ids")
    private String category1Ids;

    /**category2Id*/
    @ApiModelProperty(value = "category2Ids")
    private String category2Ids;

    /**category3Id*/
    @ApiModelProperty(value = "category3Ids")
    private String category3Ids;

    /**老师 ID，多个用#分割*/
    @ApiModelProperty(value = "老师 ID，多个用#分割")
    private String teacherIds;

    /**标签 id*/
    @ApiModelProperty(value = "标签 id")
    private String tagIds;

    /**封面文件 id*/
    @ApiModelProperty(value = "封面文件 id")
    private String mainFileId;

    /**销量*/
    @ApiModelProperty(value = "销量")
    private Integer salesVolume;

    /**知识点总数，冗余避免反复查询*/
    @ApiModelProperty(value = "知识点总数，冗余避免反复查询")
    private Integer pointCount;

    /**状态：valid-已上架；invalid-已下架*/
    @ApiModelProperty(value = "状态：valid-已上架；invalid-已下架")
    private String status;

}
